//
//  VideoCell.m
//  FuncFanc
//
//  Created by hubing on 2018/3/9.
//  Copyright © 2018年 huhu. All rights reserved.
//

#import "ShortVideoCell.h"
@interface ShortVideoCell ()
@property (weak, nonatomic) IBOutlet UIImageView *videoCover;
@property (weak, nonatomic) IBOutlet UILabel *videoTitle;

@property (weak, nonatomic) IBOutlet UILabel *playCount;
@property (weak, nonatomic) IBOutlet UILabel *likeCount;

@end

@implementation ShortVideoCell

- (void)awakeFromNib {
    [super awakeFromNib];

}

-(void)configVideoCellWith:(NSDictionary *)dict{
    [_videoCover sd_setImageWithURL:[NSURL URLWithString:dict[@"cover"]] placeholderImage:[UIImage imageNamed:@"friendstatebg"]];
    _videoTitle.text = [NSString stringWithFormat:@"%@",dict[@"title"]];
    _playCount.text = [NSString stringWithFormat:@"%@次播放",dict[@"playCount"]];
    _likeCount.text = [NSString stringWithFormat:@"%@赞",dict[@"votecount"]];
    
}



@end
